package com.ngkj.zmfptback.sys.mapper.write;

import com.ngkj.zmfptback.sys.bean.AuthorityEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ChenHN
 * @since 2021/12/22 creation
 **/
@Mapper
public interface AuthWriteMapper {
    void deleteAuthById(long authId);

    void addAuth(AuthorityEntity authorityEntity);

    void editAuthDescription(@Param("type") String type,@Param("id") Long id,@Param("description") String description);
}
